<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>Grid3D - ECHARTS-GL</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes"> <!-- Fullscreen Landscape on iOS -->
    <link rel="stylesheet" href="./common.css">
</head>
<body>
<div id="main"></div>
<script src="../node_modules/echarts/dist/echarts.js"></script>
<script src="../dist/echarts-gl.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="js/commonUI.js"></script>
<script>
    var chart = echarts.init(document.getElementById('main'));

    chart.setOption({
        backgroundColor: '#fff',
        xAxis3D: {
            type: 'category',
            data: ['Mon', 'Tue', {
                value: 'Wed',
                textStyle: {
                    fontSize: 18,
                    color: '#008'
                }
            }, 'Thu', 'Fri', 'Sat', 'Sun'],
            axisLine: {
                lineStyle: {
                    width: 5,
                    color: '#900'
                }
            },
            splitLine: {
                interval: 1
            }
        },
        yAxis3D: {
            type: 'category',
            data: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
        },
        zAxis3D: {
            type: 'value',
            min: 0, max: 100
        },
        grid3D: {
            // top: -50,
            // width: 1000,
            // height: 800,
            viewControl: {
                // projection: 'orthographic'
            },
            axisLine: {
                lineStyle: {
                    width: 5
                }
            },
            axisTick: {
                lineStyle: {
                    width: 3
                }
            },
            splitLine: {
                lineStyle: {
                    width: 1
                }
            },
            splitArea: {
                show: true,
                areaStyle: {
                    color: ['rgba(0,0,0,0.2)', 'rgba(50,50,50,0.2)']
                }
            },
            axisLabel: {
                textStyle: {
                    fontSize: 14
                }
            }
        },
        series: []
    });

    window.addEventListener('resize', function () {
        chart.resize();
    });

</script>
</body>
</html>
